package cn.com.generaldata.os.pojo;

import java.util.Date;

import com.sun.xml.internal.bind.CycleRecoverable;

public class ReportPerform implements java.io.Serializable, CycleRecoverable {

	private static final long serialVersionUID = -6404314064705214469L;

	private String id; // Id
	private String unitName; // 单位名称
	private String unitId;// 单位ID
	private Integer year; // 评估年
	private Integer month; // 评估月
	private Integer sumNum; // 可填报
	private Integer reportedNum; // 已填报
	private Integer billNum; // 被催报
	private Integer rejectNum; // 被驳回
	private Integer sortNo; // 排序
	private String areaId;// 区划
	private Date createTime;// 创建时间

	public ReportPerform(String unitName, String unitId) {
		super();
		this.unitName = unitName;
		this.unitId = unitId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public String getAreaId() {
		return areaId;
	}

	public void setAreaId(String areaId) {
		this.areaId = areaId;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUnitId() {
		return unitId;
	}

	public void setUnitId(String unitId) {
		this.unitId = unitId;
	}

	/**
	 * 解决CXF循环引用问题.
	 * 
	 * @param arg0
	 * @return
	 */
	@Override
	public Object onCycleDetected(Context arg0) {
		ReportPerform temp = new ReportPerform();
		temp.setId(id);
		return temp;
	}

	public String getUnitName() {
		return unitName;
	}

	public void setUnitName(String unitName) {
		this.unitName = unitName;
	}

	public Integer getYear() {
		return year;
	}

	public void setYear(Integer year) {
		this.year = year;
	}

	public Integer getMonth() {
		return month;
	}

	public void setMonth(Integer month) {
		this.month = month;
	}

	public Integer getSumNum() {
		return sumNum;
	}

	public void setSumNum(Integer sumNum) {
		this.sumNum = sumNum;
	}

	public Integer getReportedNum() {
		return reportedNum;
	}

	public void setReportedNum(Integer reportedNum) {
		this.reportedNum = reportedNum;
	}

	public Integer getBillNum() {
		return billNum;
	}

	public void setBillNum(Integer billNum) {
		this.billNum = billNum;
	}

	public Integer getRejectNum() {
		return rejectNum;
	}

	public void setRejectNum(Integer rejectNum) {
		this.rejectNum = rejectNum;
	}

	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public ReportPerform(String id, String unitName, Integer year, Integer month, Integer sumNum, Integer reportedNum,
			Integer billNum, Integer rejectNum, Integer sortNo) {
		super();
		this.id = id;
		this.unitName = unitName;
		this.year = year;
		this.month = month;
		this.sumNum = sumNum;
		this.reportedNum = reportedNum;
		this.billNum = billNum;
		this.rejectNum = rejectNum;
		this.sortNo = sortNo;
	}

	public ReportPerform() {
		super();
	}

}
